package zx.x.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import zx.x.common.utils.PageUtils;
import zx.x.modules.app.dto.OrderDto;
import zx.x.modules.app.entity.RoomAppointmentEntity;

import java.util.List;
import java.util.Map;

/**
 * 房间预约表
 *
 * @author x
 * @email x
 * @date 2022-09-29 15:27:48
 */
public interface RoomAppointmentService extends IService<RoomAppointmentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    RoomAppointmentEntity selectByYdTime(String ydTime,Integer roomId);

    // 取消预约
    int cancelReservation(OrderDto dto);

}

